//
//  CTPCity.m
//  citipad
//
//  Created by Chih Yuan Liu on 3/15/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "CTPCity.h"
#import "JSON.h"

@implementation CTPCity

@synthesize name;
@synthesize imageKey;

-(id) initWithJSON:(NSString *) json{
	if (self = [super init])
    {
		NSDictionary *obj = [json JSONValue];
		name = (NSString*)[obj objectForKey:@"name"];
		imageKey = (NSString*)[obj objectForKey:@"imageKey"];

    }
    return self;
}

@end
